from flask import send_from_directory
from . import main

@main.route('/static/videos/<path:filename>')
def serve_video(filename):
    """提供视频文件服务"""
    return send_from_directory('static/videos', filename) 